package com.kmust.dream.wanderingdream.donation.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.kmust.dream.wanderingdream.comm.pojo.User;
import com.kmust.dream.wanderingdream.comm.utils.PageUtils;
import com.kmust.dream.wanderingdream.donation.entity.BasicInformationDonationEntity;
import com.kmust.dream.wanderingdream.donation.vo.BasicInfoVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author Leng
 * @email Leng81605@gmail.com
 * @date 2021-07-12 21:35:52
 */
public interface BasicInformationDonationService extends IService<BasicInformationDonationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveBasicInfo(BasicInfoVo basicInfoVo,String username);

    User getUserByReciId(String id);

    List<BasicInformationDonationEntity> getStudentList();

    List<BasicInformationDonationEntity> getListByUserName(String username);

    List<BasicInformationDonationEntity> getListByType(String  type,int curr);

    List<BasicInformationDonationEntity> getPage(int curr,int pageSize);

    int getPageSize(String type);

    List<BasicInformationDonationEntity> getBasicByUserName(String id);



}

